import java.text.SimpleDateFormat;
import java.time.Month;
import java.util.Calendar;

public class Nation {
    public static void main(String[] args) {
        SimpleDateFormat a=new SimpleDateFormat();
//        String[]weeks={"周日","周一","周二","周三","周四","周五","周六"};
        Calendar date=Calendar.getInstance();
        date.set(2020,9,01);
        int week_of_year=date.get(Calendar.DAY_OF_WEEK)-1;
        System.out.println("周"+week_of_year);
//        System.out.println(date.getTime());
//        int week_index=date.get(Calendar.DAY_OF_WEEK)-1;
//        if(week_index<0){
//            week_index=0;
//        }
//        return week_index;
    }
}
